package com.google.projectulator;

public abstract class ProcessingState {
	protected Status status;
	protected String errorString;
	protected Exception error;
	
	public ProcessingState() {
		status = Status.PENDING;
	}
	
	public Status getStatus() {
		return status;
	}
	
	public void setStatus(Status status) {
		this.status = status;
	}
	
	public String getErrorString() {
		return errorString;
	}
	
	public void setErrorString(String errorString) {
		this.errorString = errorString;
	}
	
	public Exception getError() {
		return error;
	}
	
	public void setError(Exception error) {
		this.error = error;
	}
}
